==============================
	Tutoring Website
==============================

This project is a web-based tutoring management system allowing students to schedule, cancel, and track appointments, while admins (tutors/staff) can manage student hours, create reports, and maintain tutor/course records.

--------------------------------------------
Project Directory Structure
--------------------------------------------

htdocs/tutor_website
│
├── index.php
│   - Welcome page
│   - Links to create_appointment.php, view_hours.php, and employee_login.php
│
├── create_appointment.php
│   - Student page to schedule an appointment.
│ 
├── submit_appointment.php
│   - Helper file for create_appointment.php
│   - Checks for several conflicts when making an appointment.
│   - If successful, emails both tutor and student. Adds student to database.
│ 
├── view_hours.php
│   - Students can view their current tutoring hours and cancel future appointments.
│   - Requires student to input their email and ID registered in the database for access.
│
├── cancel_appointment.php
│   - Handles the cancellation of appointments.
│   - If successful, sends cancellation emails to student and tutor.
│
├── employee_login.php
│   - Login page for tutors, teaching assistants, and professors.
│
├── dashboard.php
│   - Admin dashboard homepage.
│   - Can manage student appointments here, adding or subtracting hours.
│   - Links to generate_report.php, admin_manage, and logout.php
│
├── admin_manage.php
│   - Page for admins to add new professors, courses, and tutors.
│
├── generate_report.php
│   - Page for admins to generate a report with tutoring statistics.
│   
├── get_student_appointments
│   - Helper file for dashboard.php, fetches info for student from database.
│
├── update_appointments.php
│   - Helper file for dashboard.php, updates student appointment status, adding or subtracting hours from them.
│
├── logout.php
│   - Logs out of the admin account and destroys the current session, requiring sign in again.
│   - Activated by clicking log out button in dashboard as an admin.
│
├── createAdmin.php
│   - Creates an admin account when visited.
│   - Website should be not available while this process is being done.
│   - Creates an account with an encrypted password.
│
├── includes/
│   ├── db.php
│       - Connects to the database.
│   ├── PHPMailer
│       - Folder containing all the necessary files for email creation.
│
├── css
│   ├── style.css
│       - Main stylesheet used for the entire website.
│
├── books.ico
│   - Icon used for the website.
│
├── background.png
│   - Background image used across the site.
├──

Additional files:
tutoring.sql 
	Import this into a newly created database called "tutoring" in your
	phpMyAdmin panel.

